package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条款协议对象 jt_protocol_terms
 * 
 * @author Alan Zhang
 * @date 2025-05-28
 */
public class JtProtocolTerms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 条款协议id */
    private Long protocolId;

    /** 名称 */
    @Excel(name = "名称")
    private String protocolName;

    /** 编号 */
    @Excel(name = "编号")
    private String protocolNumber;

    /** 协议内容 */
    @Excel(name = "协议内容")
    private String content;

    /** 状态 0正常 1停用 */
    @Excel(name = "状态", dictType = "sys_normal_disable" )
    private Integer status;

    public void setProtocolId(Long protocolId) 
    {
        this.protocolId = protocolId;
    }

    public Long getProtocolId() 
    {
        return protocolId;
    }

    public void setProtocolName(String protocolName) 
    {
        this.protocolName = protocolName;
    }

    public String getProtocolName() 
    {
        return protocolName;
    }

    public void setProtocolNumber(String protocolNumber) 
    {
        this.protocolNumber = protocolNumber;
    }

    public String getProtocolNumber() 
    {
        return protocolNumber;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("protocolId", getProtocolId())
            .append("protocolName", getProtocolName())
            .append("protocolNumber", getProtocolNumber())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
